Automattic\Jetpack\Search\Instant_Search B

Total Complexity 95
Dependencies 12
Dependents 6
Total lines 769
Lines of code 434
Logical lines of code 216
Comment lines 249
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
instant_api()
A
42 8 51
widget_has_search_block()
A
57 8 16
auto_config_excluded_post_types()
S
52 7 24
get_block_pattern_content()
S
57 7 15
get_preconfig_widget_options()
S
44 3 57
auto_config_overlay_sidebar_widgets()
S
53 5 23
get_search_widget_indices()
S
58 5 15
auto_config_non_fse_theme_sidebar_search_widget()
S
53 4 24
fetch_search_result_if_empty()
S
56 4 20
auto_config_fse_theme_footer_search_block()
S
54 4 20
get_template_part()
S
61 4 12
auto_config_result_format()
S
58 3 16
get_search_aggregations_results()
S
68 4 7
template_parts_have_search_block()
S
63 4 10
inject_search_widget_to_block()
S
58 3 15
instance()
S
64 3 10
replace_block_patterns()
S
64 3 10
init_hooks()
S
59 2 13
load_assets_with_parameters()
S
60 1 15
filter__posts_pre_query()
S
67 2 8
auto_config_theme_sidebar_search_widget()
S
70 2 7
get_next_jp_search_widget_id()
S
65 2 10
register_jetpack_instant_sidebar()
S
60 1 13
load_assets()
S
81 1 3
inject_javascript_options()
S
74 1 4
load_and_initialize_tracks()
S
78 1 3
auto_config_search()
S
73 1 6
content_has_search_block()
S
78 1 3
add_body_class()
S
75 1 4